﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace class1
{
    class Class1
    {

        public int Scr { get; set; }
        public string Name { get; set; }



        public Class1(int scr, string name) {
            Scr = scr;
            Name = name;
            Console.WriteLine("这是另外一个构造函数");

        }
        /* public Class1(int SCr, string _Name) : this(scr, _name)
         {
         }
         public void print() {
             Console.WriteLine("{成绩0}名字{1}",Scr,Name);


         }*/

        /*public Class1()
        {
            Console.WriteLine("一个憨批测试");
            Console.Read();
        }

        ~Class1()
        {
            Console.WriteLine("这是另外一个憨批123");
            Console.Read();
        }*/
        
    } 
  
} 
       
        
        

    

     

   
   